e38c2e2f717d76669881deee217845aab31c3233,android/tool/src/processing/app/tools/android/Build.java,Build,calcSketchSize,#,47

Before Change


      try {
        // these are ignored, just checking for the exception
        Integer.parseInt(matches[1]);
        Integer.parseInt(matches[2]);
      } catch (final NumberFormatException e) {
        // found a reference to size, but it didn't
        // seem to contain numbers

After Change


          PApplet.parseInt(matches[1], -1) == -1) {
        badSize = true;
      }
      if (!matches[2].equals("screenWidth") &&
          !matches[2].equals("screenHeight") &&
          PApplet.parseInt(matches[2], -1) == -1) {
        badSize = true;